/**
 * router for forms
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { FormsComponent } from './component.forms';
import { FormLayoutComponent } from './component.form.layout';

export const routes: Routes = [{
    path: '',
    component: FormsComponent,
    children: [
        {
            path: 'layout',
            component: FormLayoutComponent
        }
    ]
}];

@NgModule({
    imports: [
        RouterModule.forChild(routes)
    ],
    exports: [
        RouterModule
    ]
})
export class FormsRouter { }